
window.loc = function(callback){
	cordova.exec(callback,function(err){
		callback('Nothing to echo');
	}"LocationPlugin","location");
}

function callLocation(){
alert('hello');
	window.loc(function(locations) {
		alert("locations"); // should alert true.
		});
	
}